#include <iostream>
using namespace std;
int main()
{
    float radius = 0;
    float circumference = 0;
    float area = 0;
    cin >> radius;
    circumference = 6.28 * radius;
    area = 3.14 * radius * radius;


    cout << circumference << '\n';
    cout << area;


    return 0;
}